package com.unione.map

import com.tencent.bugly.crashreport.CrashReport
import com.tencent.mmkv.MMKV
import com.unione.map.view.AppViewModel
import com.unione.unione_base.BaseApplication

class RobotMapApplication : BaseApplication() {

    companion object {
        lateinit var appViewModel: AppViewModel
        const val BUGLY_KEY = "1ddaae1714"
    }


    override fun onCreate() {
        super.onCreate()
        appViewModel = getAppViewModelProvider().get(AppViewModel::class.java)
        MMKV.initialize(this)
        CrashReport.initCrashReport(
            applicationContext,
            BUGLY_KEY,
            false
        )
    }
}